/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class GrantTypeEnum extends StringEnum
{
    public static final String ONE_VALUE = "10";
    public static final String TWO_VALUE = "20";

    public static final GrantTypeEnum one = new GrantTypeEnum("one", ONE_VALUE);
    public static final GrantTypeEnum two = new GrantTypeEnum("two", TWO_VALUE);

    /**
     * construct function
     * @param String grantTypeEnum
     */
    private GrantTypeEnum(String name, String grantTypeEnum)
    {
        super(name, grantTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static GrantTypeEnum getEnum(String grantTypeEnum)
    {
        return (GrantTypeEnum)getEnum(GrantTypeEnum.class, grantTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(GrantTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(GrantTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(GrantTypeEnum.class);
    }
}